<%--
  Created by IntelliJ IDEA.
  User: softair
  Date: 2018/11/22
  Time: 22:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<html>
<head>
    <base href="<%=basePath%>"/>
    <title>添加联系人</title>
    <link rel="stylesheet" href="static/commons/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="static/css/public.css" media="all" />
</head>
<body class="contact-body">
    <form action="customer-contact/save" class="layui-form padr45" method="post" autocomplete="off">
        <div class="layui-form-item">
            <label class="layui-form-label">客户编号</label>
            <div class="layui-input-block">
                <input type="text" name="customerId" value="${param.id}" class="layui-input layui-disabled contact-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">姓名</label>
            <div class="layui-input-block">
                <input type="text" name="name" lay-verify="required" placeholder="请输入姓名" class="layui-input contact-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">性别</label>
            <div class="layui-input-block">
                <input type="radio" title="男" value="男" name="sex" class="layui-input" checked>
                <input type="radio" title="女" value="女" name="sex" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">职位</label>
            <div class="layui-input-block">
                <input type="text" name="job" lay-verify="required" placeholder="请输入职位" class="layui-input contact-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">E-Mail</label>
            <div class="layui-input-block">
                <input type="text" name="email" lay-verify="email" placeholder="请输入邮箱" class="layui-input contact-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">手机</label>
            <div class="layui-input-block">
                <input type="text" name="tel" lay-verify="required\phone\number" placeholder="请输入手机号码" class="layui-input contact-input">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <textarea name="remark" placeholder="请输入备注" class="layui-textarea contact-input"></textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn saveSubmit" lay-submit lay-filter="submit">确定</button>
                <button type="reset" class="layui-btn layui-btn-warm">重置</button>
                <button type="button" class="layui-btn layui-btn-danger close">关闭</button>
            </div>
        </div>
    </form>
    <script type="text/javascript" src="static/commons/layui/layui.js"></script>
    <script type="text/javascript" src="static/js/customerContact/contact.js"></script>
</body>
</html>
